//
//  OrderCommonCell.h
//  GasCome
//
//  Created by zfc on 2020/4/29.
//  Copyright © 2020 zfc. All rights reserved.
//

#import "BaseTableViewCell.h"


NS_ASSUME_NONNULL_BEGIN

@protocol CellClickDetegate <NSObject>

@optional
- (void) toPayWithOrder:(NSDictionary *)order; //去支付
- (void) cancelOrderWithOrder:(NSDictionary *)order; //取消订单
- (void) refundWithOrder:(NSDictionary *)order; //退款
- (void) deleteWithOrder:(NSDictionary *)order; //删除

- (void) orderDetailWithOrder:(NSDictionary *)order; //详情

- (void) reloadList;

@end



@interface OrderCommonCell : BaseTableViewCell

@property (nonatomic, strong) NSDictionary *orderDic;      //0 待付款 1 待发货 2 已发货 3已收货 4 已完成 -1 退货申请 -2 退款中 -3 退款完成 -4 已关闭 -5 撤销申请 101 等待成团
@property (nonatomic, weak) id<CellClickDetegate>delegate;


@end

NS_ASSUME_NONNULL_END
